entry: Remove unused code
authorTimm Bäder <mail@baedert.org>
Wed, 13 Jan 2016 18:11:24 +0000 (19:11 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 14 Jan 2016 15:02:12 +0000 (16:02 +0100)
gtk/gtkentry.c

index d95cff8973532cd3b8a10d41a5e751a6454585d7..ef35ffccbdac468c129c09bee3bed99eef7f0b83 100644 (file)
@@ -3720,10 +3720,6 @@ gtk_entry_get_frame_size (GtkEntry *entry,
                           gint     *height)
 {
   GtkAllocation allocation;
-  GtkWidget *widget = GTK_WIDGET (entry);
-  gint req_height, req_baseline, unused, unused2;
-
-  gtk_entry_get_preferred_height_and_baseline_for_width (widget, -1, &req_height, &unused, &req_baseline, &unused2);
 
   gtk_css_gadget_get_content_allocation (entry->priv->gadget, &allocation, NULL);